func crypto/rsa.bigIntEqualToBytes
8 uses
crypto/rsa (current package)
rsa.go#L263: if !bigIntEqualToBytes(priv.N, N) || priv.E != e || !bigIntEqualToBytes(priv.D, d) {
rsa.go#L269: return bigIntEqualToBytes(priv.Primes[0], P) &&
rsa.go#L270: bigIntEqualToBytes(priv.Primes[1], Q) &&
rsa.go#L271: bigIntEqualToBytes(priv.Precomputed.Dp, dP) &&
rsa.go#L272: bigIntEqualToBytes(priv.Precomputed.Dq, dQ) &&
rsa.go#L273: bigIntEqualToBytes(priv.Precomputed.Qinv, qInv)
rsa.go#L278: func bigIntEqualToBytes(a *big.Int, b []byte) bool {